home *** CD-ROM | disk | FTP | other *** search
/ Netware Super Library / Netware Super Library.iso / mhs_mail / xgate3 / xgate.cfg < prev    next >
Encoding:
Text File  |  1993-12-15  |  18.6 KB  |  446 lines

  1. ;==============================================================================
  2. ; XGATE Configuraton File
  3. ;------------------------------------------------------------------------------
  4. ; The C-Configuration option on XGATE's main menu can be used to double-check
  5. ; proper detection of configuration fields.
  6. ;
  7. ; The format of the configuration file is very 'loose'.  Any amount of white
  8. ; space (tabs or spaces) can be used to separate a field name from its value.
  9. ; A semi-colon begins a comment.  Any leading white space before a comment is
  10. ; also discarded.
  11.  
  12. ;------------------------------------------------------------------------------
  13. ; MHS-Related Fields
  14. ;------------------------------------------------------------------------------
  15. mhs_path        sys:        ;Root path to MHS directory structure.
  16.  
  17. mhs_gateway_name    smtp        ;Our gateway name under MHS.
  18.  
  19. mhs_default_host            ;If mail is received from SMTP without
  20.                     ;  a MHS hub name specified, the name
  21.                     ;  of the workgroup entered in MHS is
  22.                     ;  used automatically unless overridden
  23.                     ;  here.  (Not normally needed.)
  24.  
  25. mhs_administrator    frailey        ;Send error messages to a different
  26.                     ;  name than the MHS administrator.
  27.  
  28. mhs_admin_errors    Y        ;MHS administrator gets error messages.
  29.  
  30. include_header        N        ;Whether to include the entire SMTP
  31.                     ;  header in the MHS message.  If set
  32.                     ;  to "Y" or "B", the received SMTP
  33.                     ;  header is copied in at the start
  34.                     ;  of the MHS body text.  If set to
  35.                     ;  "H", the complete SMTP header is
  36.                     ;  encapsulated in the MHS header.
  37.                     ;  The "H" option is useful if your
  38.                     ;  E-Mail app provides a way to view
  39.                     ;  fields in the MHS message header.
  40.  
  41. include_smtp_fields    RFTC        ;Include specific SMTP header fields
  42.                     ;  in MHS msg body; R=Reply-To:,
  43.                     ;  F=From:, T=To:, C=Cc:.
  44.                     ;  Note:  Only one of the 3 previous
  45.                     ;  options should probably be enabled
  46.                     ;  at one time.
  47.  
  48. use_mhs_total_fields    N        ;Build MHS "Total-To:" & "Total-Cc-To:"
  49.                     ;  fields from SMTP messages.
  50.  
  51. use_smtp_repto_as_from    N        ;If your E-mail application doesn't
  52.                     ;  recognize a SMF-70+ Reply-to field
  53.                     ;  in the SMF header (which Xgate
  54.                     ;  builds if the SMTP msg contains
  55.                     ;  one), you will probably want to
  56.                     ;  turn this option on so that the
  57.                     ;  MHS From: field will contain the
  58.                     ;  proper address to reply to.
  59.  
  60. append_ascii_attach    50        ;Controls whether attached MHS files
  61.                     ;  that contain only ASCII characters
  62.                     ;  are appended to the body text of
  63.                     ;  outgoing SMTP messages.  The value
  64.                     ;  specified is the maximum file size
  65.                     ;  (in K) of attachments that will be
  66.                     ;  considered.  Attached files having
  67.                     ;  a bigger file size or that contain
  68.                     ;  non-printable characters are skipped.
  69.                     ;  A value of 0 disables this option.
  70.                     ;  If a file attachment isn't processed
  71.                     ;  by this option, it will be uuencoded
  72.                     ;  if uuencoding is enabled.
  73.  
  74. conv_body_to_attach    0        ;If the body text of an inbound SMTP
  75.                     ;  message is bigger than this number
  76.                     ;  (in K), the body text is rolled off
  77.                     ;  to an attachment.  Some PC-based
  78.                     ;  MHS E-Mail applications (i.e. Beyond
  79.                     ;  Mail) can't handle a message with
  80.                     ;  body text bigger than a certain size
  81.                     ;  (32k in the case of Beyond Mail).
  82.                     ;  A value of 0 disables this option.
  83.  
  84. ignore_lwsp_after_fold    N        ;Controls whether linear white space
  85.                     ;  characters after an MHS folded header
  86.                     ;  line are considered significant.
  87.                     ;  This option is rather technical and
  88.                     ;  should normally be set to "N".  It is
  89.                     ;  needed in some circumstances when an
  90.                     ;  MHS application does not properly
  91.                     ;  conform to the MHS rules for line
  92.                     ;  folding of header fields (WPO is one
  93.                     ;  that doesn't and needs this option
  94.                     ;  set to "Y").  Refer to XGATE's
  95.                     ;  documentation for more information.
  96.  
  97. static_reply_address    N        ;Controls the MHS reply address mode.
  98.                     ;  With this option off, the MHS reply
  99.                     ;  address for inbound SMTP mail is
  100.                     ;  built using a combination of the
  101.                     ;  first 8 chars of the SMTP username
  102.                     ;  @ XGATE's gateway name (plus the
  103.                     ;  SMTP address in the MHS extended
  104.                     ;  address), which is the conventional
  105.                     ;  way to address mail to a gateway.
  106.                     ;  MHS however, will also route mail
  107.                     ;  fine to XGATE if the gateway name
  108.                     ;  preceeds the MHS workgroup name.
  109.                     ;  (i.e. "SMTP@ACME {smtp_address}")
  110.                     ;  where SMTP is the gateway name and
  111.                     ;  ACME is the MHS workgroup name.
  112.                     ;  If you'd rather use the latter
  113.                     ;  syntax, enable this option.
  114.  
  115. native_smf71        N        ;Under SMF-71 (MHS 2.0) address masks
  116.                     ;  can be defined which route messages
  117.                     ;  that qualify to a particular host or
  118.                     ;  gateway, removing the need to use
  119.                     ;  "user@host{internet_addr}" syntax.
  120.                     ;  Instead, mail can be sent using
  121.                     ;  native SMTP syntax, provided all
  122.                     ;  possible destination addresses have
  123.                     ;  a mask defined (i.e. **.com, **.gov,
  124.                     ;  **.edu, etc...).  When XGATE is
  125.                     ;  defined under Global MHS as a gate-
  126.                     ;  that understands these address
  127.                     ;  formats - enabling this option ("Y")
  128.                     ;  tells XGATE not to look for the
  129.                     ;  "{}" portion in the address, but
  130.                     ;  rather to treat the entire address
  131.                     ;  to the right of "@" as the SMTP
  132.                     ;  recipient's address.  It also tells
  133.                     ;  XGATE not to build the return SMTP
  134.                     ;  address using that syntax.  This
  135.                     ;  option will only work if NETDIR.TAB
  136.                     ;  indicates SMF-71 or greater.
  137.  
  138. ;------------------------------------------------------------------------------
  139. ; SMTP-Related Fields
  140. ;------------------------------------------------------------------------------
  141. smtp_gateway_name    mhs.com        ;Our TCP/IP host name.
  142.  
  143. smtp_default_host    darius.com    ;The default SMTP host to address a
  144.                     ;  message to if an MHS message doesn't
  145.                     ;  specify the destination SMTP host.
  146.  
  147. smtp_timezone        pst        ;Timezone stamped on outbound SMTP
  148.                     ;  dates if the MHS message didn't
  149.                     ;  use a UTC desigination (i.e.+0800).
  150.                     ;  This can be expressed as either
  151.                     ;  a valid 3 char North America time
  152.                     ;  zone, or a UTC designation such
  153.                     ;  as -0800.
  154.  
  155. conv_time_to_local    N        ;Determines whether XGATE converts
  156.                     ;  the time of SMTP messages received
  157.                     ;  to local time.  In order for this
  158.                     ;  to work right, the smtp_timezone
  159.                     ;  must be set correctly.
  160.  
  161. smtp_exclude_mhs_hub    N        ;Excludes the MHS hub name when
  162.                     ;  building an SMTP return address.
  163.  
  164. smtp_include_mhs_app    N        ;Includes the sending MHS application
  165.                     ;  name (if its given) in the return
  166.                     ;  address of the MHS sender.  This
  167.                     ;  option is not normally needed for
  168.                     ;  E-Mail only type messages since
  169.                     ;  MHS automatically routes inbound
  170.                     ;  mail to the user's preferred app.
  171.                     ;  In some cases though, you may need
  172.                     ;  to enable it if dealing with a
  173.                     ;  large number of users and multiple
  174.                     ;  MHS applications.
  175.  
  176. smtp_receipts        N        ;Generate an MHS return receipt for all
  177.                     ;  inbound SMTP mail.
  178.  
  179. use_mhs_ret_rcpt    Y        ;Ask for an SMTP receipt if the MHS
  180.                     ;  message had it on.  (Embedding a /r
  181.                     ;  in the outbound smtp address of the
  182.                     ;  mhs message's gateway parameters is
  183.                     ;  recognized regardless of this
  184.                     ;  setting.)
  185.  
  186. name_mapping_mode    0        ;SMTP name translation mode.  If set
  187.                     ;  to 0, reply addresses are built
  188.                     ;  according to SMF-71 conventions
  189.                     ;  with a "%" separating the user name
  190.                     ;  from the workgroup.  If set to 1,
  191.                     ;  a period is used.  This only affects
  192.                     ;  the format of reply addresses.  When
  193.                     ;  receiving an SMTP message, XGATE will
  194.                     ;  work properly if either a "%" or a
  195.                     ;  "." separates the workgroup from the
  196.                     ;  user name.
  197.  
  198. smtp_user_suffix            ;Optional text appended to an MHS
  199.                     ;  user's name, before the gateway
  200.                     ;  host name, in the return address
  201.                     ;  (not normally used).
  202.  
  203. ;------------------------------------------------------------------------------
  204. ; Uuencode-Related Fields
  205. ;------------------------------------------------------------------------------
  206. uuencode        Y        ;Enable automatic uuencoding of
  207.                     ;  outbound MHS attachments, and
  208.                     ;  decode scanning of each inbound
  209.                     ;  SMTP message.
  210.  
  211.                     ;Decode headers:
  212.                     ;  These are fields automatically
  213.                     ;  embedded in the SMTP header when
  214.                     ;  it contains a uuencoded file.  The
  215.                     ;  idea is to automatically trip the
  216.                      ;  recipients mailer into decoding
  217.                     ;  the enclosed file.  Embedding %fn
  218.                     ;  will expand into the name of the
  219.                     ;  uuencoded file.  Decode headers
  220.                     ;  can be defined more than once -
  221.                     ;  but they all go in a message with
  222.                     ;  uuencoded files.
  223.  
  224. decode_header    Next-Attachment: %fn            ;  For Next Computers
  225. decode_header    Content-Type: x-uuencode-apple-single    ;  For Apple Computers
  226.  
  227. scrap_mhs_attach    *packed*    ;Scrap (don't uuencode) MHS attachments
  228. scrap_mhs_attach    *beyond*    ;  that have this filename.  This field
  229.                     ;  can be defined more than once.
  230.  
  231. ;------------------------------------------------------------------------------
  232. ; Miscellaneous Fields
  233. ;------------------------------------------------------------------------------
  234. scan_frequency        10        ;Scan for new mail every n seconds.
  235.  
  236. black_and_white        N        ;Use black and white video mode.
  237.  
  238. mute            N        ;Whether speaker beeps on errors.
  239.  
  240. screen_save        0        ;Blank screen after this many minutes.
  241.                     ;  A value of 0 disables screen saver.
  242.  
  243. inbound_log                ;Path and filename of inbound log file
  244.  
  245. outbound_log                ;Path and filename of outbound log file
  246.  
  247. error_log                ;Path and filename of error log file
  248.  
  249. mhs_scrollback_lines    50        ;MHS Activity scroll back lines.  If
  250.                     ;  expanded memory is present, this
  251.                     ;  value is ignored and a 64k buffer
  252.                     ;  (or as much as is available) is
  253.                     ;  allocated.
  254.  
  255. smtp_scrollback_lines    100        ;SMTP Monitor scroll back lines.  If
  256.                     ;  expanded memory is present, this
  257.                     ;  value is ignored and a 64k buffer
  258.                     ;  (or as much as is available) is
  259.                     ;  allocated.
  260.  
  261. ;------------------------------------------------------------------------------
  262. ; SMTP Server Module Variables
  263. ;------------------------------------------------------------------------------
  264. watch_dog        30        ;Reboot the computer after this many
  265.                     ;  seconds if the process time slicer
  266.                     ;  is no longer running.  This only
  267.                     ;  works if hardware interrupts are
  268.                     ;  still functioning.  Using zero
  269.                     ;  disables the watchdog.  Otherwise,
  270.                     ;  a value below 10 results in 10.
  271.  
  272. max_xmit_processes    20        ;Maximum Concurrent Transmit Processes
  273.                     ;  The Mach 2 TCP/IP stack supports
  274.                     ;  100 concurrent sessions, but this
  275.                     ;  is not normally attainable unless
  276.                     ;  the number of file handles is also
  277.                     ;  raised to 100 (the NetWare default
  278.                     ;  is 40).  Limiting the maximum number
  279.                     ;  of concurrent transmit sessions
  280.                     ;  ensures at least x number of receive
  281.                     ;  processes are available.
  282.  
  283. relay_mode        0        ;Relay Mode:
  284.                     ;  0 = Attempt direct delivery first
  285.                     ;      using domain name servers.
  286.                     ;      If resolve error or if host
  287.                     ;      unreachable, pass message to
  288.                     ;      to the relay host.
  289.                     ;  1 = Attempt passing message to
  290.                     ;      relay host first, if that fails
  291.                     ;      attempt direct delivery if one
  292.                     ;      or more name servers are given.
  293.  
  294. relay_host    129.194.30.5        ;Relay Host:
  295.                     ;  If specified, it must be a fully
  296.                     ;  qualified NUMERIC IP address.
  297.                     ;  If not specified, a name server must
  298.                     ;  be given below so direct delivery
  299.                     ;  can be attempted.
  300.  
  301. connect_timeout        20        ;Time to wait in seconds before
  302.                     ;  considering an outbound connection
  303.                     ;  timed out.
  304.  
  305. reschedule_minutes    5        ;The number of minutes to wait before
  306.                     ;  reattempting an outbound message
  307.                     ;  which fails to connect.
  308.  
  309. undeliverable_hours    72        ;Return mail to sender after this many
  310.                     ;  hours if unable to move the message.
  311.                     ;  If a relay host is defined, this
  312.                     ;  timeout is normally not encountered.
  313.  
  314. resolve_minutes        15        ;Return mail to sender after this many
  315.                     ;  minutes if unable to resolve the
  316.                     ;  destination host using name servers.
  317.                     ;  If a relay host is defined, this
  318.                     ;  timeout is normally not encountered.
  319.  
  320. name_server    129.194.30.5        ;1st name server (MyLocalUnixBox)
  321. name_server    192.112.36.5        ;2nd name server (NS.NIC.DDN.MIL)
  322. name_server    128.9.0.107        ;3rd name server (A.ISI.EDU)
  323.                     ;  Domain Name Servers must be fully
  324.                     ;  qualified numeric IP addresses.
  325.                     ;  Up to 10 name servers can be defined
  326.                     ;  by repeating these variables.  An
  327.                     ;  address can be used more than once
  328.                     ;  in sequence to extend the response
  329.                     ;  time allowed for a particular name
  330.                     ;  server.
  331.  
  332. domain_timeout        7        ;Domain Name Server Timeout.
  333.                     ;  Time to wait in seconds on each
  334.                     ;  name server before querying the
  335.                     ;  next name server.  If multiple
  336.                     ;  name servers are given, a late
  337.                     ;  response from a query to a previous
  338.                     ;  server will still be recognized.
  339.  
  340. ;------------------------------------------------------------------------------
  341. ; TCP/IP Protocol Binding
  342. ;------------------------------------------------------------------------------
  343. ; IP addresses are bound logically inside XGATE to either an ODI driver,
  344. ; or a Clarkson Packet Driver.  More than one BIND statement can be used
  345. ; to support multiple IP addresses and/or interfaces, but such usage is
  346. ; rare with XGATE.
  347. ;
  348. ; The format of the BIND statement is:
  349. ;
  350. ;   BIND  <ip_address>, <netmask> [,<interface>] [,<bcast>]
  351. ;
  352. ; <ip_address> is the local IP address being bound to an interface board
  353. ; (which will be XGATE's local IP address).
  354. ;
  355. ; <netmask> is the portion of the IP address that represents the network
  356. ; part (which is what XGATE uses to determine when a packet is destined
  357. ; to a remote network, and has to be routed).
  358. ;
  359. ; Both the <ip_address> and <netmask> are expressed as fully qualified
  360. ; IP addresses in dotted notation.
  361. ;
  362. ; <interface> is an optional parameter that explicitly tells XGATE what
  363. ; network interface to bind the <ip_address> to.  In most cases this can
  364. ; be left out or set to zero and XGATE will automatically bind correctly to
  365. ; the next available interface driver that supports a TCP/IP frame type.
  366. ; Specifying an interface number is needed if more than one network card
  367. ; is present, or more than one frame type is present that supports TCP/IP.
  368. ; If the interface number is not given (or is zero) and XGATE does a default
  369. ; search for a compatible interface, an ODI driver is recognized before a
  370. ; Packet Driver, should both happen to be present.
  371. ;
  372. ; When specifying an interface number, the value can be expressed in either
  373. ; decimal or hex (hex values are given in C format by prefixing the number
  374. ; with a "0x").
  375. ;
  376. ; If the interface number is a value between 1 and 16 (decimal), it is
  377. ; considered to be a reference to a logical MLID "board ID" number that
  378. ; was bound to a suitable frame type in NET.CFG (usually ETHERNET_II).
  379. ; (An MLID is a card-specific ODI driver.)
  380. ;
  381. ; If the interface number is a value between 17 and 255 (decimal), it is
  382. ; considered to be a reference to a Packet Driver configured to use that
  383. ; number as its software interrupt.  Packet Driver interrupts are normally
  384. ; expressed in hexadecimal, so be sure to give the interface number prefixed
  385. ; with a "0x" if so appropriate.
  386. ;
  387. ; <bcast> is an optional parameter that overrides the normal use of 1's
  388. ; for broadcast bits in the host portion of an IP Address.  If <bcast>
  389. ; is given, it can only be a value of 0 or 1.
  390. ;------------------------------------------------------------------------------
  391. bind    130.23.4.7,    255.255.255.0,    0x00
  392.  
  393. ;------------------------------------------------------------------------------
  394. ; TCP/IP Routing
  395. ;------------------------------------------------------------------------------
  396. ; Route commands are used to initially seed the routing table with static
  397. ; routes, or to enable RIP, or a combination of both.  When RIP is enabled,
  398. ; a broadcast query for RIP information is sent on all interfaces immediately
  399. ; upon startup.
  400. ;
  401. ; Normally the use of RIP is overkill (unless XGATE has more than one network
  402. ; interface), because all non-local packets will probably end up just needing
  403. ; to go to a default router (gateway), and using one simple static route to
  404. ; that default router will work just fine.  If you enable RIP, and don't also
  405. ; give XGATE a static default route to the default gateway - XGATE may not be
  406. ; able to talk to all networks if the default gateway doesn't advertise itself
  407. ; through RIP as a default route on that network.  The routing table can be
  408. ; examined from under the SMTP Monitor's "<D>river, <T>ables" command.
  409. ;
  410. ; The format of the ROUTE statement is:
  411. ;
  412. ;   ROUTE  <network>, <next_hop_gateway> [,metric]
  413. ;   ROUTE  RIP
  414. ;
  415. ; The first form adds a static route.  The second form enables RIP, which
  416. ; is off by default.  Up to 10 static routes can be given by using multiple
  417. ; route statements.
  418. ;
  419. ; A <network> given as all zeros is the equivalent of a default
  420. ; route (i.e. everything not destined for the local network qualifies,
  421. ; and those packets are then send to the <next_hop_gateway>).
  422. ;
  423. ; When more than one IP address is bound, XGATE will automatically make
  424. ; the correct association of which interface to route through.
  425. ;
  426. ; If the <metric> isn't specified, it is assumed to be 1.  The metric
  427. ; is used as a means to prioritize routes when more than one qualifies.
  428. ; A default route is always given a metric of 17 (which is higher than
  429. ; the valid metrics 1..15) because default routes are only supposed to
  430. ; be used if no other route qualifies.
  431. ;------------------------------------------------------------------------------
  432. route    0.0.0.0,    130.23.4.1    ;Route all non-local packets to
  433.                     ;  address 130.23.4.1.
  434.  
  435. ;------------------------------------------------------------------------------
  436. ; TCP/IP Forwarding
  437. ;------------------------------------------------------------------------------
  438. ; The TCP/IP protocol stack built into XGATE also has the ability to forward
  439. ; (route) packets between multiple interfaces.  If you have more than one
  440. ; interface card installed and want XGATE to route packets between them,
  441. ; this option can be enabled with IPFORWARD command.
  442. ;------------------------------------------------------------------------------
  443. ipforward    N            ;Whether to forward (route) IP packets
  444.                     ;  between multiple interfaces, if more
  445.                     ;  than one interface is installed.
  446.